package com.zhiwei.codesecurity.common.enums;

import com.zhiwei.codesecurity.common.base.IEnum;

public enum JobConfigType implements IEnum {
    FIXED_EXEC(1, "定时执行"),
    REPEAT_EXEC(2, "重复执行");

    private Integer key;

    private String value;

    private JobConfigType(Integer key, String value) {
        this.key = key;
        this.value = value;
    }

    @Override
    public Integer getKey() {
        return key;
    }

    @Override
    public String getValue() {
        return value;
    }
}
